﻿using Taype.Trading.BTC.TradeHillAPIClient.JSONObjects;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using Taype.Trading.BTC.TradeHillAPIClient;

namespace TradeHillAPIClientTests
{
    
    
    /// <summary>
    ///This is a test class for TradeHillOrderTest and is intended
    ///to contain all TradeHillOrderTest Unit Tests
    ///</summary>
    [TestClass()]
    public class TradeHillOrderTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        /// <summary>
        ///A test for TradeHillOrder Constructor
        ///</summary>
        [TestMethod()]
        public void TradeHillOrderConstructorTest()
        {
            TradeHillOrder target = new TradeHillOrder();
            Assert.Inconclusive("TODO: Implement code to verify target");
        }

        /// <summary>
        ///A test for getObjects
        ///</summary>
        [TestMethod()]
        public void getObjectsTest()
        {
            string jsonDataStr = string.Empty; // TODO: Initialize to an appropriate value
            List<TradeHillOrder> expected = null; // TODO: Initialize to an appropriate value
            List<TradeHillOrder> actual;
            actual = TradeHillOrder.getObjects(jsonDataStr);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for amount
        ///</summary>
        [TestMethod()]
        public void amountTest()
        {
            TradeHillOrder target = new TradeHillOrder(); // TODO: Initialize to an appropriate value
            double expected = 0F; // TODO: Initialize to an appropriate value
            double actual;
            target.amount = expected;
            actual = target.amount;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for amount_orig
        ///</summary>
        [TestMethod()]
        public void amount_origTest()
        {
            TradeHillOrder target = new TradeHillOrder();
            double expected = 0.0;
            double actual;
            target.amount_orig = expected;
            actual = target.amount_orig;
            Assert.AreEqual(expected, actual);
        }

        /// <summary>
        ///A test for date
        ///</summary>
        [TestMethod()]
        public void dateTest()
        {
            TradeHillOrder target = new TradeHillOrder(); // TODO: Initialize to an appropriate value
            DateTime expected = new DateTime(); // TODO: Initialize to an appropriate value
            DateTime actual;
            target.date = expected;
            actual = target.date;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for oid
        ///</summary>
        [TestMethod()]
        public void oidTest()
        {
            TradeHillOrder target = new TradeHillOrder(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.oid = expected;
            actual = target.oid;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for price
        ///</summary>
        [TestMethod()]
        public void priceTest()
        {
            TradeHillOrder target = new TradeHillOrder(); // TODO: Initialize to an appropriate value
            double expected = 0F; // TODO: Initialize to an appropriate value
            double actual;
            target.price = expected;
            actual = target.price;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for reserved_amount
        ///</summary>
        [TestMethod()]
        public void reserved_amountTest()
        {
            TradeHillOrder target = new TradeHillOrder(); // TODO: Initialize to an appropriate value
            double expected = 0F; // TODO: Initialize to an appropriate value
            double actual;
            target.reserved_amount = expected;
            actual = target.reserved_amount;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for reserved_currency
        ///</summary>
        [TestMethod()]
        public void reserved_currencyTest()
        {
            TradeHillOrder target = new TradeHillOrder(); // TODO: Initialize to an appropriate value
            TradeHillCurrencySymbol expected = new TradeHillCurrencySymbol(); // TODO: Initialize to an appropriate value
            TradeHillCurrencySymbol actual;
            target.reserved_currency = expected;
            actual = target.reserved_currency;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for status
        ///</summary>
        [TestMethod()]
        public void statusTest()
        {
            TradeHillOrder target = new TradeHillOrder(); // TODO: Initialize to an appropriate value
            TradeHillOrderStatus expected = new TradeHillOrderStatus(); // TODO: Initialize to an appropriate value
            TradeHillOrderStatus actual;
            target.status = expected;
            actual = target.status;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for symbol
        ///</summary>
        [TestMethod()]
        public void symbolTest()
        {
            TradeHillOrder target = new TradeHillOrder(); // TODO: Initialize to an appropriate value
            TradeHillCurrencySymbol expected = new TradeHillCurrencySymbol(); // TODO: Initialize to an appropriate value
            TradeHillCurrencySymbol actual;
            target.symbol = expected;
            actual = target.symbol;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for type
        ///</summary>
        [TestMethod()]
        public void typeTest()
        {
            TradeHillOrder target = new TradeHillOrder(); // TODO: Initialize to an appropriate value
            TradeHillOrderType expected = new TradeHillOrderType(); // TODO: Initialize to an appropriate value
            TradeHillOrderType actual;
            target.type = expected;
            actual = target.type;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
    }
}
